from django.conf.urls.defaults import *

# Built-in views
urlpatterns = patterns('',
  (r'^login/$', 'django.contrib.auth.views.login', {
    'template_name': 'core/login.htm'
  }),
  url(r'^password_change/$', 'django.contrib.auth.views.password_change', {
    'template_name': 'core/password_change.htm',
    'post_change_redirect':'/'
  },name='password_change'),
  url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name = 'logout'),
)

urlpatterns += patterns('core.views',
  url(r'^profile/$', 'profile', name = 'profile'),
  url(r'^$', 'simple_index',name='index')
)
